{% extends 'admin_dashboard.html' %}

{% block content %}
<div class="dashboard">
  <h2 style="margin-bottom: 30px;">欢迎管理员 {{ session['user'] }}，您可以在此快速操作系统功能</h2>

  <!-- ✅ 仅保留功能导航卡片 -->
  <div class="card-grid">
    <a href="{{ url_for('customers') }}" class="nav-card">
      <div class="card-icon">👤</div>
      <div class="card-title">客户管理</div>
      <div class="card-desc">查看/编辑客户资料</div>
    </a>
    <a href="{{ url_for('cards') }}" class="nav-card">
      <div class="card-icon">💳</div>
      <div class="card-title">银行卡管理</div>
      <div class="card-desc">添加、挂失、改密</div>
    </a>
    <a href="{{ url_for('deposits') }}" class="nav-card">
      <div class="card-icon">🏛️</div>
      <div class="card-title">存款业务管理</div>
      <div class="card-desc">管理存款业务类型</div>
    </a>
    <a href="{{ url_for('transactions') }}" class="nav-card">
      <div class="card-icon">📊</div>
      <div class="card-title">交易记录</div>
      <div class="card-desc">查询并导出历史交易</div>
    </a>
    <a href="{{ url_for('export_customers') }}" class="nav-card">
      <div class="card-icon">📥</div>
      <div class="card-title">数据导出</div>
      <div class="card-desc">导出客户信息为 CSV</div>
    </a>
  </div>
</div>
{% endblock %}
